<template>
  <div class="location">
    <div class="location_wrap">
      <div class="location_title">当前定位</div>
      <div class="location_detail">
        <i class="fa fa-location-arrow"></i>
        <span>{{ address }}</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'MyLocation',
  props: {
    address: String
  }
}
</script>

<style lang="less" scoped>
.location {
  padding: 10px;
  .location_title {
    font-size: 16px;
  }
  .location_detail {
    font-weight: 600;
    margin-top: 8px;
    font-size: 18px;
    .fa-location-arrow {
      &:before {
        color: #009eef;
        margin-right: 5px;
      }
    }
  }
}
</style>
